<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      /* 当屏幕如果小于 1024px 时，页面中的元素不能再小了 */
      @media screen and (max-width: 1024px) {
        html {
          font-size: 102.4px !important;
        }
      }

      /* 当屏幕如果大于 1920px 时，页面中的元素不能再大了 */
      @media screen and (min-width: 1920px) {
        html {
          font-size: 192px !important;
        }
      }

      div {
        width: 1.0417rem;
        height: 1.0417rem;
        background-color: skyblue;
      }
    </style>
  </head>
  <body>
    <div></div>

    <script src="../flexible.js"></script>
  </body>
</html>
